﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 调整订单接口
    /// </summary>
    [Table(TableName = "ttddev122101")]
    public class tddev122{

        /// <summary>
        /// WMS单号
        /// </summary>
        public string wmsno { get; set; }

        /// <summary>
        /// WMS行号
        /// </summary>
        public int wmspo { get; set; }

        /// <summary>
        /// ERP单号
        /// </summary>
        public string orno { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public string cwar { get; set; }

        /// <summary>
        /// 库存调整原因
        /// </summary>
        public string adrn { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string item { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string stun { get; set; }

        /// <summary>
        /// 差异数量
        /// </summary>
        public double qadj { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public string loca { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string clot { get; set; }

        /// <summary>
        /// ERP采购单号
        /// </summary>
        public string ERPPO { get; set; }

        /// 中间表状态
        /// </summary>
        public int host { get; set; }
        /// <summary>
        /// ERP处理信息
        /// </summary>
        public string mess { get; set; }
        /// <summary>
        /// WMS写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// ERP读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }
        /// <summary>
        /// ERP处理日期
        /// </summary>
        public DateTime? wdte2 { get; set; }

        public int refcntd { get; set; }

        public int refcntu { get; set; }

    }
}
